package weibo4andriod;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import weibo4andriod.a.i;
import weibo4andriod.b.a.a;

public final class c extends h
  implements Serializable
{
  private Date a;
  private long b;
  private String c;
  private String d;
  private boolean e;
  private long f;
  private int g;
  private boolean h;
  private String i;
  private double j = -1.0D;
  private double k = -1.0D;
  private String l;
  private String m;
  private String n;
  private b o;
  private d p = null;

  c(i parami)
  {
    super(parami);
    weibo4andriod.b.a.c localc = parami.b();
    try
    {
      this.b = localc.d("id");
      this.c = localc.e("text");
      this.d = localc.e("source");
      this.a = a(localc.e("created_at"), "EEE MMM dd HH:mm:ss z yyyy");
      this.f = b("in_reply_to_status_id", localc);
      this.g = a("in_reply_to_user_id", localc);
      this.h = c("favorited", localc);
      this.l = localc.e("thumbnail_pic");
      this.m = localc.e("bmiddle_pic");
      this.n = localc.e("original_pic");
      if (!(localc.f("user")))
        this.p = new d(localc.c("user"));
      this.i = localc.e("inReplyToScreenName");
      if (!(localc.f("retweeted_status")))
        this.o = new b(localc.c("retweeted_status"));
      return;
    }
    catch (weibo4andriod.b.a.b localb)
    {
      throw new g(localb.getMessage() + ":" + localc.toString(), localb);
    }
  }

  private c(weibo4andriod.b.a.c paramc)
  {
    this.b = paramc.d("id");
    this.c = paramc.e("text");
    this.d = paramc.e("source");
    this.a = a(paramc.e("created_at"), "EEE MMM dd HH:mm:ss z yyyy");
    this.h = c("favorited", paramc);
    this.e = c("truncated", paramc);
    this.f = b("in_reply_to_status_id", paramc);
    this.g = a("in_reply_to_user_id", paramc);
    this.i = paramc.e("in_reply_to_screen_name");
    this.l = paramc.e("thumbnail_pic");
    this.m = paramc.e("bmiddle_pic");
    this.n = paramc.e("original_pic");
    this.p = new d(paramc.c("user"));
    if (paramc.f("retweeted_status"))
      return;
    this.o = new b(paramc.c("retweeted_status"));
  }

  static List a(i parami)
  {
    int i1;
    ArrayList localArrayList;
    int i2;
    do
    {
      Object localObject;
      try
      {
        a locala = parami.c();
        i1 = locala.a();
        localArrayList = new ArrayList(i1);
        i2 = 0;
        break label148:
        localObject = locala.a(i2);
        if (localObject != null)
          break label81;
        label148: label81: throw new weibo4andriod.b.a.b("JSONArray[" + i2 + "] not found.");
      }
      catch (weibo4andriod.b.a.b localb)
      {
        throw new g(localb);
        if (localObject instanceof weibo4andriod.b.a.c)
        {
          localArrayList.add(new c((weibo4andriod.b.a.c)localObject));
          ++i2;
          break label148:
        }
        throw new weibo4andriod.b.a.b("JSONArray[" + i2 + "] is not a JSONObject.");
      }
      catch (g localg)
      {
        throw localg;
      }
    }
    while (i2 < i1);
    return localArrayList;
  }

  public final long a()
  {
    return this.b;
  }

  public final String b()
  {
    return this.c;
  }

  public final d c()
  {
    return this.p;
  }

  public final boolean equals(Object paramObject)
  {
    if (paramObject == null);
    for (int i1 = 0; ; i1 = 0)
      while (true)
      {
        return i1;
        if (this == paramObject)
          i1 = 1;
        if ((!(paramObject instanceof c)) || (((c)paramObject).b != this.b))
          break;
        i1 = 1;
      }
  }

  public final int hashCode()
  {
    return (int)this.b;
  }

  public final String toString()
  {
    return "Status{createdAt=" + this.a + ", id=" + this.b + ", text='" + this.c + '\'' + ", source='" + this.d + '\'' + ", isTruncated=" + this.e + ", inReplyToStatusId=" + this.f + ", inReplyToUserId=" + this.g + ", isFavorited=" + this.h + ", thumbnail_pic=" + this.l + ", bmiddle_pic=" + this.m + ", original_pic=" + this.n + ", inReplyToScreenName='" + this.i + '\'' + ", latitude=" + this.j + ", longitude=" + this.k + ", retweetDetails=" + this.o + ", user=" + this.p + '}';
  }
}

/* Location:           E:\Desktop\Android\wordstd\classes_dex2jar.jar
 * Qualified Name:     weibo4andriod.c
 * JD-Core Version:    0.5.3
 */